// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ParallelPort.java

package javax.comm;

import java.util.TooManyListenersException;

// Referenced classes of package javax.comm:
//            CommPort, UnsupportedCommOperationException, ParallelPortEventListener

public abstract class ParallelPort extends CommPort
{

    public static final int LPT_MODE_ANY = 0;
    public static final int LPT_MODE_SPP = 1;
    public static final int LPT_MODE_PS2 = 2;
    public static final int LPT_MODE_EPP = 3;
    public static final int LPT_MODE_ECP = 4;
    public static final int LPT_MODE_NIBBLE = 5;

    public abstract void addEventListener(ParallelPortEventListener parallelporteventlistener)
        throws TooManyListenersException;

    public abstract void removeEventListener();

    public abstract void notifyOnError(boolean flag);

    public abstract void notifyOnBuffer(boolean flag);

    public abstract int getOutputBufferFree();

    public abstract boolean isPaperOut();

    public abstract boolean isPrinterBusy();

    public abstract boolean isPrinterSelected();

    public abstract boolean isPrinterTimedOut();

    public abstract boolean isPrinterError();

    public abstract void restart();

    public abstract void suspend();

    public abstract int getMode();

    public abstract int setMode(int i)
        throws UnsupportedCommOperationException;

    public ParallelPort()
    {
    }
}
